<!-- List display -->
<?php foreach ($images as $img): ?>
<div class="thumbConainer">
    <image src="<?php echo $img['thumb'] ?>" />
    <label>
        <span class="deleteFile 
              link" ref="<?php echo $img['name']; ?>">
            (Delete)
        </span>
    </label>
</div>
<?php endforeach; ?>